
def convert_sparse_to_vector(sparse_list):
    
    max_index=0
    for sparse in sparse_list:
        temp = max( sparse.keys() )
        if (temp>max_index):
            max_index=temp
            
    vector_list=[]
    for sparse in sparse_list:
        v=[]
        for i in range(max_index):
            try:
                v.append(sparse[i])
            except KeyError:
                v.append(0)
        vector_list.append(v)
    return vector_list